package com.hmall.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.annotations.ApiOperation;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author HBQ
 * @since 2025-10-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_consumption")
@ApiModel(value="UserConsumption对象", description="")
public class UserConsumption implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "关联用户表ID")
    private Long userId;

    @ApiModelProperty(value = "消费档次：1-平价实用，2-轻奢品质，3-高端定制")
    private Integer consumptionLevel;

    @ApiModelProperty(value = "偏好消费品类（逗号分隔，如：数码,美妆,运动）")
    private String preferredCategories;

    @ApiModelProperty(value = "支付习惯：1-线上优先，2-线下优先，3-信用卡偏好，4-移动支付偏好")
    private Integer paymentHabit;

    @ApiModelProperty(value = "消费行为")
    private UserConsumption consumptionBehavior;
}
